const db = require('../db')

module.exports = db.defineModel('sc_tuihuo', {
	_id: db.STRING(),
	date: db.STRING(),
	addTime: db.STRING(),
	name: {
		type: db.STRING(),
		allowNull: true,
		defaultValue: '', 
		comment: '退货商家'
	},
	image: {
		type: db.STRING(),
		allowNull: true,
		defaultValue: '', 
		comment: '订单照片'
	},
	price: {
		type: db.STRING(),
		allowNull: true,
		defaultValue: '', 
		comment: '退货金额'
	},
	isHandle: {
		type: db.STRING(),
		allowNull: true,
		defaultValue: '', 
		comment: '是否处理'
	},
	
	beizhu: {
		type: db.STRING(),
		allowNull: true,
		defaultValue: '', 
		comment: '备注'
	}
})
